package com.gof.example.builder;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/4 09:43.
 * haiming.fei@tongdun.cn
 */
public class FullDisplayBuilder extends DisplayBuilder {


    public FullDisplayBuilder(Model m) {
        super(m);
    }

    public FullDisplayBuilder() {
        super();
    }

    @Override
    void showMenu() {
        super.model.setControlBar("FullDisplayBuilder show bar");
    }

    @Override
    void showPlayList() {
        super.model.setPlayList("FullDisplayBuilder show playList");
    }

    @Override
    void showMainWindow() {
        super.model.setWindow("FullDisplayBuilder show window");
    }

    @Override
    void showControlBar() {
        super.model.setControlBar("FullDisplayBuilder show controlBar");
    }

    @Override
    void showFavouriteList() {
        super.model.setFavouriteList("FullDisplayBuilder show favouriteList");
    }

    @Override
    public Model build() {
        return super.build();
    }
}
